
//
//  BaseTableViewCell.m
//  项目一
//
//  Created by 芮京 on 2018/9/28.
//  Copyright © 2018 芮京. All rights reserved.
//

#import "BaseTableViewCell.h"

@implementation BaseTableViewCell

-(void)loadDataFromModel:(BaseModel *)model{
    if (model) {
        self.titleLabel.text = model.title;
        [self.imgV sd_setImageWithURL:[NSURL URLWithString:model.imgsrc]];
        self.digestLabel.text = model.digest;
        self.replyCountLable.text = [NSString stringWithFormat:@"%@评论",model.replyCount];
    }
}

@end
